import Vue from 'vue'
import Router from 'vue-router'
//import HelloWorld from '@/components/HelloWorld'
import head from '@/components/movie/head'
import firstBody from '@/components/movie/firstBody'
import movieBody from '@/components/movie/movieBody'
import tvBody from '@/components/movie/tvBody'
import animeBody from '@/components/movie/animeBody'
import vedioPlay from '@/components/movie/vedioPlay'
import foot from '@/components/movie/foot'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      components: {
        head,
        firstBody,
        foot
      },
    },
    {
      path:'/movieBody',
      components:{
        head,
        movieBody,
        foot
      }
    },
    {
      path:'/tvBody',
      components:{
        head,
        tvBody,
        foot
      }
    },
    {
      path:'/animeBody',
      components:{
        head,
        animeBody,
        foot
      }
    },
    {
      path:'/vedioPlay',
      components:{
        head,
        vedioPlay,
        foot
      }
    },
  ],
})
